Copies all the elements of the collection to the specified one-dimensional array starting at the specified destination array index.
public virtual void CopyTo(T[] array,int arrayIndex)
Public Overridable Sub CopyTo( _ByVal array() As T, _ByVal arrayIndex As Integer _)
public:virtual void CopyTo(_array<T^>^_ array,int arrayIndex)
array
The one-dimensional array that is the destination of the elements copied from the current collection.
arrayIndex
The index at which copying begins.
For an example, refer to RasterCollection<T>.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
